// 导如person
import Person from './Person.js'

// extends继承
export default class Student extends Person{
	constructor(name,age,major) {
	    super(name,age);//调用父构造函数
		this.major = major;
	}
	study(){
		console.log(this.name+"正在努力的学习"+this.major)
	}
}
